<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>

<html>
<head>
<title>FLOApp - Student Insertion</title>
<link rel=STYLESHEET href="/FloappContest/css/floapp.css"
	type="text/css">
</head>
<body>
<f:view>
	<table border="0" align="left" cellpadding="0" cellspacing="0">
		<tr>
			<td colspan="2"><img src="/FloappContest/images/top.jpg"
				width="800" /></td>
		</tr>
		<tr>
			<td class="menuBar" colspan="2" align="center"><h:form>
				<t:jscookMenu layout="hbr" theme="ThemePanel" rendered="true">
					<t:navigationMenuItems value="#{menuBarRedirection.menus}"></t:navigationMenuItems>
				</t:jscookMenu>
			</h:form></td>
		</tr>
		<tr>
			<td class="backgroundBody" align="center"><h:form>
				<h3 class="title">Cadastro de Estudantes do Grupo <h:outputText value="#{teamBean.team.name}"/></h3>
				<h3 class="title">Tutor: <h:outputText value="#{teamBean.team.tutor}"/></h3>
				<b><h:outputText value=""
					style="COLOR: #800000; FONT-SIZE: x-small; FONT-FAMILY: 'Verdana';" /></b>
				<h4>Preencha os campos abaixo:</h4>
				<h:panelGrid columns="7" binding="#{studentBean.formElements}">
				</h:panelGrid>
				<table width="100%">
					<tr>
						<td width="45%" align="right"><h:commandButton styleClass="actionButton" type="reset"
							value="Limpar" /></td>
						<td width="10%"></td>
						<td align="left"><h:commandButton styleClass="actionButton"
							action="#{studentBean.insertStudent}" value="Cadastrar" /></td>
					</tr>
				</table>
			</h:form></td>
		</tr>
	</table>
</f:view>
</body>
</html>